package com.ruoyi.system.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停电反馈数据对象 t_outage_feedback
 * 
 * @author zhangkai
 * @date 2021-12-10
 */
public class TOutageFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "uuid")
    private String uuid;
    
    /** 主键 */
    @Excel(name = "ID")
    private String id;

    /** 地市 */
    @Excel(name = "市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String county;

    /** 站址 */
    @Excel(name = "站址")
    private String station;

    /** 站址状态 */
    @Excel(name = "站址状态")
    private String stationStatus;

    /** 站址运维ID */
    @Excel(name = "站址运维ID")
    private String stationOperationId;

    /** 告警名称 */
    @Excel(name = "告警名称")
    private String reportName;

    /** 告警发生时间 */
    @Excel(name = "告警发生时间")
    private String reportTime;
    
    /** 告警清除时间 */
    @Excel(name = "告警清除时间")
    private String cleanTime;
    
    /** 代维公司 */
    @Excel(name = "代维公司")
    private String agentCompany;

    /** 站址编码 */
    @Excel(name = "站址编码")
    private String stationCode;

    /** 是否需要发电 */
    @Excel(name = "是否需要发电")
    private String isneedElectricity;

    /** 是否发电 */
    @Excel(name = "是否发电")
    private String isElectricity;

    /** 是否与运营商确认不发电 */
    @Excel(name = "是否与运营商确认不发电")
    private String isOperator;

    /** 不需要发电原因 */
    @Excel(name = "不需要发电原因")
    private String unwantedCause;

    /** 不发电原因 */
    @Excel(name = "不发电原因")
    private String noCause;

    /** 所属运营商 */
    @Excel(name = "所属运营商")
    private String operator;

    /** 版本 */
    @Excel(name = "版本")
    private String version;
    
    /** 修改原因时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reasonTime;


    /** 修改原因人 */
    private String reasonBy;

    /** 主内容修改次数 */
    private Long mainCurrentCount;

    /** 原因修改次数 */
    private Long curentCount;
    
    /** 错误信息 */
    private String errormessage;
    
    public String getErrormessage() {
		return errormessage;
	}

	public void setErrormessage(String errormessage) {
		this.errormessage = errormessage;
	}

	public Date getReasonTime() {
		return reasonTime;
	}

	public void setReasonTime(Date reasonTime) {
		this.reasonTime = reasonTime;
	}

	public String getReasonBy() {
		return reasonBy;
	}

	public void setReasonBy(String reasonBy) {
		this.reasonBy = reasonBy;
	}

	public Long getMainCurrentCount() {
		return mainCurrentCount;
	}

	public void setMainCurrentCount(Long mainCurrentCount) {
		this.mainCurrentCount = mainCurrentCount;
	}

	public Long getCurentCount() {
		return curentCount;
	}

	public void setCurentCount(Long curentCount) {
		this.curentCount = curentCount;
	}

	public String getVersionbegin() {
		return versionbegin;
	}

	public void setVersionbegin(String versionbegin) {
		this.versionbegin = versionbegin;
	}

	public String getVersionend() {
		return versionend;
	}

	public void setVersionend(String versionend) {
		this.versionend = versionend;
	}

	/** 版本  查询开始时间 */
    private String versionbegin;

    /** 版本  查询结束时间 */
    private String versionend;

    
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setStation(String station) 
    {
        this.station = station;
    }

    public String getStation() 
    {
        return station;
    }
    public void setStationStatus(String stationStatus) 
    {
        this.stationStatus = stationStatus;
    }

    public String getStationStatus() 
    {
        return stationStatus;
    }
    public void setStationOperationId(String stationOperationId) 
    {
        this.stationOperationId = stationOperationId;
    }

    public String getStationOperationId() 
    {
        return stationOperationId;
    }
    public void setReportName(String reportName) 
    {
        this.reportName = reportName;
    }

    public String getReportName() 
    {
        return reportName;
    }
    public void setReportTime(String reportTime) 
    {
        this.reportTime = reportTime;
    }

    public String getReportTime() 
    {
        return reportTime;
    }
    public void setAgentCompany(String agentCompany) 
    {
        this.agentCompany = agentCompany;
    }

    public String getAgentCompany() 
    {
        return agentCompany;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setIsneedElectricity(String isneedElectricity) 
    {
        this.isneedElectricity = isneedElectricity;
    }

    public String getIsneedElectricity() 
    {
        return isneedElectricity;
    }
    public void setIsElectricity(String isElectricity) 
    {
        this.isElectricity = isElectricity;
    }

    public String getIsElectricity() 
    {
        return isElectricity;
    }
    public void setIsOperator(String isOperator) 
    {
        this.isOperator = isOperator;
    }

    public String getIsOperator() 
    {
        return isOperator;
    }
    public void setUnwantedCause(String unwantedCause) 
    {
        this.unwantedCause = unwantedCause;
    }

    public String getUnwantedCause() 
    {
        return unwantedCause;
    }
    public void setNoCause(String noCause) 
    {
        this.noCause = noCause;
    }

    public String getNoCause() 
    {
        return noCause;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCleanTime() {
		return cleanTime;
	}

	public void setCleanTime(String cleanTime) {
		this.cleanTime = cleanTime;
	}

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        	.append("uuid", getUuid())
            .append("id", getId())
            .append("city", getCity())
            .append("county", getCounty())
            .append("station", getStation())
            .append("stationStatus", getStationStatus())
            .append("stationOperationId", getStationOperationId())
            .append("reportName", getReportName())
            .append("reportTime", getReportTime())
            .append("cleanTime", getCleanTime())
            .append("agentCompany", getAgentCompany())
            .append("stationCode", getStationCode())
            .append("isneedElectricity", getIsneedElectricity())
            .append("isElectricity", getIsElectricity())
            .append("isOperator", getIsOperator())
            .append("unwantedCause", getUnwantedCause())
            .append("noCause", getNoCause())
            .append("operator", getOperator())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
